/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86184
 * Date: 2023-01-26
 * Time: 13:11
 */
public class Java_Incremental_operator {
    public static void main(String[] args) {
        int a=10;

        double d=12.5;

        System.out.println(a=(int)(a+d));

        System.out.println(a += d);  //+= 会自动帮我们进行类型的转换
    }
}
